package restlike.shoreditch

import im.mange.shoreditch.api.liftweb.ServiceHelper
import ServiceHelper._
import im.mange.shoreditch.api.liftweb.ServiceHelper

object Shoreditch extends ServiceHelper(base = "shoreditch", version = "?????")(
  "run/test/" action RunTest,
  "test/completed/@tr" check TestCompleted

  //TODO: add ...
  //run/testpack (id=x) action
  //testpack/completed/@tp check
  //run/release (name=x) action
  //release/completed/@r check

  //TODO: and maybe later...
  //create/testpac action
  //create/release (name=x) action

  //TODO: and even later...
  //deploy/system (name=x version=x) action
  //system/deployed/@name/@version check
)

//TODO: how to get the result - use a different service /shoreditch/registry/tr/@id